package top.yueyazhui.repeat_submit.controller;

import org.springframework.web.bind.annotation.*;
import top.yueyazhui.repeat_submit.annotation.RepeatSubmit;

@RestController
@RequestMapping("/hello")
public class HelloController {

    @PostMapping
    @RepeatSubmit
    public String hello(@RequestBody String json) {
        System.out.println("json = " + json);
        return json;
    }
}
